package com.wn.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 账号信息
 * </p>
 *
 * @author yellow docker
 * @since 2023-02-23
 */
@Getter
@Setter
@TableName("u_user_detail")
@ApiModel(value = "UserDetail对象", description = "账号信息")
public class UserDetail implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("账户ID（引用u_user表主键）")
    @TableId(value = "id", type = IdType.INPUT)
    private Long id;

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("手机号")
    private String phone;

    @ApiModelProperty("用户编码")
    private String userCode;

    @ApiModelProperty("借款金额")
    private BigDecimal borrowMoney;

    @ApiModelProperty("绑卡状态:未绑卡0、已绑卡1")
    private Boolean cardBindStatus;


}
